package com.mec.beans.y2012.coreservlet;

import javax.servlet.http.Cookie;

public class LongLivedCookie extends Cookie {

	public LongLivedCookie(String name, String value) {
		super(name, value);
		setMaxAge(SECONDS_PER_DAY);
	}

	public static final int SECONDS_PER_DAY = 60*60*24;
	public static final int SECONDS_PER_YEAR = SECONDS_PER_DAY * 365;
	private static final long serialVersionUID = -1351214118237981542L;

}
